package cn.code.mycloud.module.envir.controller.admin.grid.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 网格 Response VO")
@Data
@ExcelIgnoreUnannotated
public class GridRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "29153")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "网格名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "")
    @ExcelProperty("网格名称")
    private String name;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "省份ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "31219")
    @ExcelProperty("省份ID")
    private Long provinceId;

    @Schema(description = "省份", example = "张三")
    @ExcelProperty("省份")
    private String provinceName;

    @Schema(description = "城市ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "28177")
    @ExcelProperty("城市ID")
    private Long cityId;

    @Schema(description = "城市", example = "赵六")
    @ExcelProperty("城市")
    private String cityName;

}